package com.yfp.tissue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yfp.tissue.domain.SysDeptCity;

import java.util.List;

/**
 *
 * @description 针对表【sys_dept_city(部门城市关联)】的数据库操作Service
 * @createDate 2024-11-15 11:29:29
 */
public interface SysDeptCityService extends IService<SysDeptCity> {

    /**
     * 根据部门id查询城市
     *
     * @param deptId
     * @return
     */
    List<SysDeptCity> getByDeptId(Long deptId);

    SysDeptCity getByDeptIdAndCityName(Long deptId, String cityName);
}
